home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacApp Release 10 / MacApp Release 10 - HD Ready / Examples / SimpleContainer / UMyODPartView.h < prev   
Encoding:
Text File  |  1996-04-03  |  1.3 KB  |  52 lines  |  [TEXT/MPS ]

  1. //----------------------------------------------------------------------------------------
  2. // TMyODPartView.h
  3. // Copyright © 1996 by Apple Computer, Inc. All rights reserved.
  4. //----------------------------------------------------------------------------------------
  5.  
  6. #ifndef __UMYODPARTVIEW__
  7. #define __UMYODPARTVIEW__
  8.  
  9. #ifndef __UODPARTVIEW__
  10. #include "UODPartView.h"
  11. #endif
  12.  
  13. // CALib
  14.  
  15. #ifndef _CALIB_
  16. #include "CALib.h"
  17. #endif
  18.  
  19. // MacApp
  20.  
  21. #ifndef __UGEOMETRY__
  22. #include "UGeometry.h"
  23. #endif
  24.  
  25. //----------------------------------------------------------------------------------------
  26. // TMyODPartView
  27. //----------------------------------------------------------------------------------------
  28.  
  29. class TMyODPartView : public TODPartView
  30. {
  31.     MA_DECLARE_CLASS;
  32.     
  33.     public:
  34.     
  35.         TMyODPartView();
  36.         virtual                 ~TMyODPartView();
  37.         virtual    void        IMyODPartView(TDocument* itsDocument,
  38.                                                                        TView* itsSuperView,
  39.                                                                     const VPoint& itsLocation,
  40.                                                                     const VPoint& itsSize,
  41.                                                                        SizeDeterminer itsHSizeDet,
  42.                                                                     SizeDeterminer itsVSizeDet,
  43.                                                                     CAFrameRef frameRef);
  44.         virtual void        Draw(const VRect& area);
  45.         virtual void        AquirePartFromDocument(CADocumentRef sourceDoc);
  46. };
  47.  
  48. extern void InitUMyODPartView();
  49.  
  50.  
  51. #endif
  52.